package com.fitbet.api.service;

import java.util.List;

import com.fitbet.entity.user.User;
import com.fitbet.entity.user.UserTransaction;

/**
 * @author xiaoHU
 *
 */
public interface UserTransactionService {

    /**
     * 交易记录列表
     * @return
     */
    public List<UserTransaction> list();

    /**
     * @param user
     * @param price
     * @param content
     */
    public void createTransaction(User user, int price, String content);

}
